package com.link.base.ext.emp.controller;

import com.link.base.ext.emp.model.EmpPosition;
import com.link.base.ext.emp.service.EmpPositionService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 职位员工中间对象-
 *
 * @author 刘启鑫
 * @date 2020/09/03 16:51
 */
@Controller
@RequestMapping("/link/empPosition")
public class EmpPositionController extends BasicController<EmpPosition> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private EmpPositionService empPositionService;

    @Override
    public BasicService<EmpPosition> getBasicService() throws Exception {
        return empPositionService;
    }
}
